{$jsValMess}
<h3>{if $iId}{language text="edit_account"}{else}{language text="add_account"}{/if}</h3>
<a href="{url link=$aParams.url_list}">&lt;&lt; {language text="back_to_list"}</a>
<hr noshade />
<br />

{include file="$sMainTemplatePath/_blocks/errors.html"}

<form action="{$sUrl}" method="post" onsubmit="{$jsVal}">
<table cellspacing="2" cellpadding="2" border="0" class="form">
<tr>
    <td class="td_field_label">{language text="e_mail"}</td>
    <td class="td_field_edit"><input type="text" name="aAcc[email]" value="{$aAcc.email}"></td>
</tr>
<tr>
    <td class="td_field_label">{language text="first_name"}</td>
    <td class="td_field_edit"><input type="text" name="aAcc[fname]" value="{$aAcc.fname}"></td>
</tr>
<tr>
    <td class="td_field_label">{language text="last_name"}</td>
    <td class="td_field_edit"><input type="text" name="aAcc[lname]" value="{$aAcc.lname}"></td>
</tr>
<tr>
    <td colspan="2" class="td_button">
{if $iId}
        <input type="submit" name="act[udpdate]" value="{language text="update"}">
{else}
        <input type="submit" name="act[add]" value="{language text="add"}">
{/if}
    </td>
</tr>
</table>
</form>